package com.xioyi.news.service.impl;

import com.xioyi.news.dao.impl.AccountDao;
import com.xioyi.news.domain.Account;
import com.xioyi.news.service.IAccountService;

public class AccountService implements IAccountService {
	private AccountDao accountDao;
	@Override
	public Account findAccount(Integer id) {
		return accountDao.findObject(id);
	}
	
	/**
	 * @return the accountDao
	 */
	public AccountDao getAccountDao() {
		return accountDao;
	}
	/**
	 * @param accountDao the accountDao to set
	 */
	public void setAccountDao(AccountDao accountDao) {
		this.accountDao = accountDao;
	}
	
}
